Handling exceptions
POC scenario: Allow a user to access a blocked website
In some cases, you might have users that require access to blocked sites for groups in which the user is a member. Complete the following tasks to override a block configured for your test group, so the test user can access the blocked site.
- Configure an allow rule for the same FQDN that you blocked in the previous scenario. Create a web filtering policy.
- Group and prioritize your web filtering policies. Create a security profile with a higher priority than the block policy created previously.
- Configure your test user to use the security profile. Create and assign a Conditional Access policy.
- Confirm rule application by using your test user to attempt to access a blocked site that is now allowed for the user.
- View activity in the traffic log.
Create a web filtering policy
- In the Microsoft Entra admin center, go to Global Secure Access > Secure > Web content filtering policies > Create policy > Configure Global Secure Access content filtering.
- On Create a web content filtering policy > Basics, provide the following details.
- Name: Allow test FQDN.
- Description: Add a description.
- Action: Allow.
- Select Next.
- On Create a web content filtering policy > Policy Rules, select Add Rule.
- In the Add Rule dialog box, provide the following details. Select Add.
- Name: Enter a name, such as Allow FQDN Override.
- Destination type: FQDN.
- Destination: enter the FQDN in the format *.domainname.com or domain.com. Select Add.
- On Create a web content filtering policy > Policy Rules, confirm your selections.
- Select Next.
- On Create a web content filtering policy > Review, confirm your policy configuration.
- Select Create policy.
- To confirm policy creation, view it in the Manage web content filtering policies list.
Create a security policy profile
- In the Microsoft Entra admin center, go to Global Secure Access > Secure > Security profiles. Select Create profile.
- On Create a profile > Basics, provide the following details.
- Profile name: Allow FQDNs Internet Access Profile.
- Description: Add a description.
- State: enabled.
- Priority: 500.
- Select Next.
- On Create a profile > Link policies, select Link a policy.
- Select Existing policy.
- In the Link a policy dialog box, provide the following details.
- Policy name: Allow test FQDN.
- Priority: 100.
- State: Enabled.
- Select Add.
- On Create a profile > Link policies, confirm Allow test FQDN in list.
- Select Next.
- On the Review tab, confirm your profile configuration.
- Select Create a profile.
Create a Conditional Access policy
- In the Microsoft Entra admin center, go to Protection > Conditional Access. Select Create new policy.
- In the New Conditional Access Policy dialog box, configure the following.
- Name: FQDN Exception Override IA Policy.
- Users or workload identities: Specific users included.
- What does this policy apply to? Users and groups.
- Include > Select users and groups > Select Users and groups.
- Select your test group. Click Select.
- Target resources.
- Select "All internet resources with Global Secure Access".
- Session > select Use Global Secure Access security profile, select Allow FQDNs Internet Access Profile. Click Select.
- In Conditional Access Overview > Enable policy, select On. Select Create.
Attempt to access blocked sites
- Sign in to your test device where you installed the GSA agent.
- To confirm access for this specific user, attempt to open the FQDN that you configured as an exception. It can take up to 20 minutes for the policy to apply to your client device.
View activity in the traffic log
- In the Microsoft Entra admin center > Global Secure Access > Monitor, select Traffic logs. If needed, select Add filter. Filter when User principal name contains testuser and Action set to Block.
- Observe the entries for your target FQDN that show traffic as blocked and then allowed. There can be a delay of up to 20 minutes for entries to appear in the log.